package com.symone.webcms.mapper;

import com.symone.webcms.model.Notification;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;

/**
 *   @description : Notification Mapper 接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-03-19
 */
@Repository
public interface NotificationMapper extends BaseMapper<Notification> {

    int deleteByUid(@Param("userId")Long userId);

    int updateReadByUid(@Param("userId")Long userId);
}